<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title>Free Trader</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="language" content="en" />
	<meta name="description" content="" />
	<meta name="keywords" content="" />
	
	<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script>
	<script src="js/swfobject.js" type="text/javascript"></script>

   <script> 
     var appID = 202212789823625;
     if (window.location.hash.length == 0) {
       url = "https://www.facebook.com/dialog/oauth?client_id=" + 
							appID  + "&redirect_uri=" + window.location +
							"&response_type=token";

		window.location = url;
	} else {
		accessToken = window.location.hash.substring(1).split("&")[0];
		embedGame(accessToken.split("=")[1]);
	}
	
	function embedGame(token) {
		swfobject.embedSWF("Simeconomy.swf", "altContent", "760", "600", "10.0", 
			null, {accessToken: token}, {allownetworking: "all", allowscriptaccess: "sameDomain"}, {name:"altContent"}); 
	}

   </script> 
</head>
<body>   
	<div id="fb-root"></div>
	<div id="altContent">
	</div>
</body>
</html>
